package src.mock.tomcat;

import java.util.ArrayList;
import java.util.List;

public class ServletMappingConfig {
    public static List<ServletMapping> servletMappingList=new ArrayList<ServletMapping>();
    /**
     * ServletMapping，可以改为从配置文件中读取
     */
    static{
        servletMappingList.add(new ServletMapping("orchid","/orchid","src.mock.tomcat.AppTest"));
        servletMappingList.add(new ServletMapping("rock","/rock","src.mock.tomcat.TestServlet"));
        servletMappingList.add(new ServletMapping("favicon","/favicon.ico","src.mock.tomcat.TestServlet"));
    }
}
